package io.flash.rpc.protocol;

import io.flash.rpc.client.Exchanges;
import io.netty.channel.ChannelHandlerContext;
import io.netty.channel.SimpleChannelInboundHandler;

public class RpcResponsePacketHandler extends SimpleChannelInboundHandler<RpcResponsePacket> {
    @Override
    protected void channelRead0(ChannelHandlerContext channelHandlerContext, RpcResponsePacket rpcResponsePacket) {
        Exchanges.addResponse(rpcResponsePacket);
    }
}
